// components/create-account/create-account.ts
import tran from '../../utils/language'
Component({

  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    _t: tran._t('createAccount'),
    index: -1,
    region: ['', '', ''],
    pickerParams:{
      show:false,
      pickerType:'MBTI',
      defaultValue:''
    }
  },

  /**
   * 组件的方法列表
   */
  methods: {
    bindPickerChange: function (e: any) {
      this.setData({
        index: e.detail.value
      })
    },
    bindRegionChange: function (e: any) {
      this.setData({
        region: e.detail.value
      })
    },
    dateChange(e: any) {
      console.log('选中生日为',e.detail.value);
    }
  }
})